<script>
import Vue from 'vue';

export default Vue.extend({
  created() {
    const { params, query } = this.$route;
    const { path } = params;
    this.$router.replace({ path: `/${path}`, query });
  },
  render(h) {
    return h();
  },
});
</script>
